3.964 \(\int \sqrt{b x} (c+d x)^n (e+f x)^p \, dx\)

Optimal. Leaf size=79 \[ \frac{2 (b x)^{3/2} (c+d x)^n \left (\frac{d x}{c}+1\right )^{-n} (e+f x)^p \left (\frac{f x}{e}+1\right )^{-p} F_1\left (\frac{3}{2};-n,-p;\frac{5}{2};-\frac{d x}{c},-\frac{f x}{e}\right )}{3 b} \]

[Out]

(2*(b*x)^(3/2)*(c + d*x)^n*(e + f*x)^p*AppellF1[3/2, -n, -p, 5/2, -((d*x)/c), -((f*x)/e)])/(3*b*(1 + (d*x)/c)^
n*(1 + (f*x)/e)^p)

________________________________________________________________________________________

Rubi [A]  time = 0.0462138, antiderivative size = 79, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {135, 133} \[ \frac{2 (b x)^{3/2} (c+d x)^n \left (\frac{d x}{c}+1\right )^{-n} (e+f x)^p \left (\frac{f x}{e}+1\right )^{-p} F_1\left (\frac{3}{2};-n,-p;\frac{5}{2};-\frac{d x}{c},-\frac{f x}{e}\right )}{3 b} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[b*x]*(c + d*x)^n*(e + f*x)^p,x]

[Out]

(2*(b*x)^(3/2)*(c + d*x)^n*(e + f*x)^p*AppellF1[3/2, -n, -p, 5/2, -((d*x)/c), -((f*x)/e)])/(3*b*(1 + (d*x)/c)^
n*(1 + (f*x)/e)^p)

Rule 135

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_)*((e_) + (f_.)*(x_))^(p_), x_Symbol] :> Dist[(c^IntPart[n]*(c +
d*x)^FracPart[n])/(1 + (d*x)/c)^FracPart[n], Int[(b*x)^m*(1 + (d*x)/c)^n*(e + f*x)^p, x], x] /; FreeQ[{b, c, d
, e, f, m, n, p}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] &&  !GtQ[c, 0]

Rule 133

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_)*((e_) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[(c^n*e^p*(b*x)^(m +
 1)*AppellF1[m + 1, -n, -p, m + 2, -((d*x)/c), -((f*x)/e)])/(b*(m + 1)), x] /; FreeQ[{b, c, d, e, f, m, n, p},
 x] &&  !IntegerQ[m] &&  !IntegerQ[n] && GtQ[c, 0] && (IntegerQ[p] || GtQ[e, 0])

Rubi steps

\begin{align*} \int \sqrt{b x} (c+d x)^n (e+f x)^p \, dx &=\left ((c+d x)^n \left (1+\frac{d x}{c}\right )^{-n}\right ) \int \sqrt{b x} \left (1+\frac{d x}{c}\right )^n (e+f x)^p \, dx\\ &=\left ((c+d x)^n \left (1+\frac{d x}{c}\right )^{-n} (e+f x)^p \left (1+\frac{f x}{e}\right )^{-p}\right ) \int \sqrt{b x} \left (1+\frac{d x}{c}\right )^n \left (1+\frac{f x}{e}\right )^p \, dx\\ &=\frac{2 (b x)^{3/2} (c+d x)^n \left (1+\frac{d x}{c}\right )^{-n} (e+f x)^p \left (1+\frac{f x}{e}\right )^{-p} F_1\left (\frac{3}{2};-n,-p;\frac{5}{2};-\frac{d x}{c},-\frac{f x}{e}\right )}{3 b}\\ \end{align*}

Mathematica [A]  time = 0.0537861, size = 79, normalized size = 1. \[ \frac{2}{3} x \sqrt{b x} (c+d x)^n \left (\frac{c+d x}{c}\right )^{-n} (e+f x)^p \left (\frac{e+f x}{e}\right )^{-p} F_1\left (\frac{3}{2};-n,-p;\frac{5}{2};-\frac{d x}{c},-\frac{f x}{e}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b*x]*(c + d*x)^n*(e + f*x)^p,x]

[Out]

(2*x*Sqrt[b*x]*(c + d*x)^n*(e + f*x)^p*AppellF1[3/2, -n, -p, 5/2, -((d*x)/c), -((f*x)/e)])/(3*((c + d*x)/c)^n*
((e + f*x)/e)^p)

________________________________________________________________________________________

Maple [F]  time = 0.039, size = 0, normalized size = 0. \begin{align*} \int \sqrt{bx} \left ( dx+c \right ) ^{n} \left ( fx+e \right ) ^{p}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x)^(1/2)*(d*x+c)^n*(f*x+e)^p,x)

[Out]

int((b*x)^(1/2)*(d*x+c)^n*(f*x+e)^p,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b x}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{p}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x)^(1/2)*(d*x+c)^n*(f*x+e)^p,x, algorithm="maxima")

[Out]

integrate(sqrt(b*x)*(d*x + c)^n*(f*x + e)^p, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b x}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{p}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x)^(1/2)*(d*x+c)^n*(f*x+e)^p,x, algorithm="fricas")

[Out]

integral(sqrt(b*x)*(d*x + c)^n*(f*x + e)^p, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x)**(1/2)*(d*x+c)**n*(f*x+e)**p,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b x}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{p}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x)^(1/2)*(d*x+c)^n*(f*x+e)^p,x, algorithm="giac")

[Out]

integrate(sqrt(b*x)*(d*x + c)^n*(f*x + e)^p, x)